﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class ChiTietMonAnBUS
    {
        public static bool Insert(ChiTietMonAnDTO ma)
        {
            return ChiTietMonAnDAO.Insert(ma);
        }

        public static bool Delete(int id)
        {
            return ChiTietMonAnDAO.Delete(id);
        }

        public static bool DeleteByMaMon(int mama)
        {
            return ChiTietMonAnDAO.DeleteByMaMon(mama);
        }

        public static System.Data.DataTable SelectByMaMonAn(int MaMonAn)
        {
            return ChiTietMonAnDAO.SelectByMaMonAn(MaMonAn);
        }
    }
}
